package com.ls.mapper;

import com.ls.model.Permission;
import com.ls.util.BaseMapper;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission, Integer> {

    List<Permission> findByRoleId(int roleId);

    int deleteByParentId(int pid);
}